package com.ruoyi.bbsAdmin.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * AISearchRecord对象 bbs_AI_search_record
 * 
 * @author ruoyi
 * @date 2024-09-24
 */
public class AISearchRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 唯一ID */
    private String id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private String userId;

    /** 学校Id */
    @Excel(name = "学校Id")
    private Integer schoolId;

    /** 搜索方式 1：直接搜索 2：发布时点击搜索 */
    @Excel(name = "搜索方式 1：直接搜索 2：发布时点击搜索")
    private Integer searchWay;

    /** 搜索文本 */
    @Excel(name = "搜索文本")
    private String searchText;

    /** 提取的关键词 */
    @Excel(name = "提取的关键词")
    private String keyWord;

    /** 查询结果的json */
    @Excel(name = "查询结果的json")
    private String resJson;

    /** 发布埋点 */
    @Excel(name = "发布埋点")
    private String publishJson;

    /** 跳转埋点 */
    @Excel(name = "跳转埋点")
    private String navigateJson;

    /** 备用字段 */
    @Excel(name = "备用字段")
    private String query1;

    /** 备用字段 */
    @Excel(name = "备用字段")
    private String query2;

    /** 备用字段 */
    @Excel(name = "备用字段")
    private String query3;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setSchoolId(Integer schoolId) 
    {
        this.schoolId = schoolId;
    }

    public Integer getSchoolId() 
    {
        return schoolId;
    }
    public void setSearchWay(Integer searchWay) 
    {
        this.searchWay = searchWay;
    }

    public Integer getSearchWay() 
    {
        return searchWay;
    }
    public void setSearchText(String searchText) 
    {
        this.searchText = searchText;
    }

    public String getSearchText() 
    {
        return searchText;
    }
    public void setKeyWord(String keyWord) 
    {
        this.keyWord = keyWord;
    }

    public String getKeyWord() 
    {
        return keyWord;
    }
    public void setResJson(String resJson) 
    {
        this.resJson = resJson;
    }

    public String getResJson() 
    {
        return resJson;
    }
    public void setPublishJson(String publishJson) 
    {
        this.publishJson = publishJson;
    }

    public String getPublishJson() 
    {
        return publishJson;
    }
    public void setNavigateJson(String navigateJson) 
    {
        this.navigateJson = navigateJson;
    }

    public String getNavigateJson() 
    {
        return navigateJson;
    }
    public void setQuery1(String query1) 
    {
        this.query1 = query1;
    }

    public String getQuery1() 
    {
        return query1;
    }
    public void setQuery2(String query2) 
    {
        this.query2 = query2;
    }

    public String getQuery2() 
    {
        return query2;
    }
    public void setQuery3(String query3) 
    {
        this.query3 = query3;
    }

    public String getQuery3() 
    {
        return query3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("schoolId", getSchoolId())
            .append("searchWay", getSearchWay())
            .append("searchText", getSearchText())
            .append("keyWord", getKeyWord())
            .append("resJson", getResJson())
            .append("publishJson", getPublishJson())
            .append("navigateJson", getNavigateJson())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("query1", getQuery1())
            .append("query2", getQuery2())
            .append("query3", getQuery3())
            .toString();
    }
}
